package com.ming.common.config.file;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;


@ConfigurationProperties(prefix = "upload")
@Data
public class UploadProperties {

    /**
     * 允许的文件大小
     */
    private int allowSize;

    /**
     * 允许的文件类型
     */
    private List<String> allowTypes;
}
